Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report a score for disabled queries #1502

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Report a score for disabled queries #1502

merged 3 commits into from
Dec 3, 2024

Conversation

jaym
Copy link
Contributor

@jaym jaym commented Dec 2, 2024

This reports them as skipped for old clients, disabled for new clients. It does this by injecting a query which always reports a skipped score. Doing so allows us to know if an asset didn't run a query that would have because it is disabled

Copy link
Contributor

github-actions bot commented Dec 2, 2024

Test Results

  1 files  ±0   26 suites  ±0   21s ⏱️ +2s
490 tests ±0  489 ✅ ±0  1 💤 ±0  0 ❌ ±0 
491 runs  ±0  490 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 9b1a0a1. ± Comparison against base commit 44cd00b.

♻️ This comment has been updated with latest results.

jaym added a commit to mondoohq/cnquery that referenced this pull request Dec 2, 2024
imilchev pushed a commit to mondoohq/cnquery that referenced this pull request Dec 3, 2024
jaym added 3 commits December 3, 2024 10:06
This reports them as skipped. It does this by injecting a query which
always reports a skipped score. Doing so allows us to know if an asset
didn't run a query that would have because it is skipped
@jaym jaym force-pushed the jdm/report-disabled branch from 7f5dc55 to 9b1a0a1 Compare December 3, 2024 16:17
@vjeffrey vjeffrey merged commit 7faffe7 into main Dec 3, 2024
15 checks passed
@vjeffrey vjeffrey deleted the jdm/report-disabled branch December 3, 2024 19:16
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants